import Layout from '@/views/layout/Layout'

const activity = {
  path: '/purchaseManage',
  component: Layout,
  name: 'purchaseManage',
  alwaysShow: true,
  meta: { title: 'purchaseManage', icon: 'purchaseManage' },
  children: [
    {
      path: 'purchaseRecords',// 采购记录
      component: () => import('@/views/after-sale/purchaseManage/purchaseRecords/purchaseRecords'),
      name: 'purchaseRecords',
      meta: { title: 'purchaseRecords' }
    },
    {
      path: 'addPurchaseRecords',// 新增采购
      component: () => import('@/views/after-sale/purchaseManage/purchaseRecords/addPurchaseRecords'),
      hidden: true,
      name: 'addPurchaseRecords',
      meta: { title: 'addPurchaseRecords' }
    },
    {
      path: 'editPurchaseRecords',// 修改采购
      component: () => import('@/views/after-sale/purchaseManage/purchaseRecords/addPurchaseRecords'),
      hidden: true,
      name: 'editPurchaseRecords',
      meta: { title: 'editPurchaseRecords' }
    },
    {
      path: 'purchaseReturn',// 采购退货
      component: () => import('@/views/after-sale/purchaseManage/purchaseReturn/purchaseReturn'),
      name: 'purchaseReturn',
      meta: { title: 'purchaseReturn' }
    },
    {
      path: 'addPurchaseReturn',// 新增退货
      component: () => import('@/views/after-sale/purchaseManage/purchaseReturn/addPurchaseReturn'),
      hidden: true,
      name: 'addPurchaseReturn',
      meta: { title: 'addPurchaseReturn' }
    },
  ]
}

export default activity
